package pers.zw.service;

import pers.zw.domain.User;
import pers.zw.exception.UserExistException;

/**
 * Offer services:
 * register / login
 */
public interface IUserService {

    void registerUser(User user) throws UserExistException;

    User loginUser(String userName, String userPwd);
}
